/**
  \file dawg_bits.h
  \author Francis Girard
  \date 6 march 2012
  
  Dawg bit manipulation constant definitions.
*/

/*
 *  Copyright (C) 2012, Francis Girard
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


#ifndef __dawg_bits_h__
#define __dawg_bits_h__

enum E_DAWG_BITS
{
  E_DAWG_CHILD_BIT_SHIFT = 8,
  E_DAWG_CHILD_INDEX_MASK = 0x0FFFFF00,
  E_DAWG_LETTER_MASK = 0x000000FF,
  E_DAWG_END_OF_WORD_FLAG = 0x20000000,
  E_DAWG_END_OF_LIST_FLAG = 0x10000000,
  E_DAWG_HASH_SIZE = 20
};

// #ifndef __dawgbits_h__
#endif

